<extend name="public:base" />

<block name="left">
	<div class="mark_bar cl">
		<a href="javascript:history.back(-1);" class="goback fl"><i class="iconfont">&#xe600;</i></a>
		<p>旧邀请有礼奖励</p>
	</div>
</block>

<block name="main">
	<div class="container">
		<ul class="member_nav">
			<li  <if condition="$Request.action eq 'index'">class="on"</if>>
			<a href="{:url('uc/promotion/index')}">新邀请首页</a>
			</li>
			<li  <if condition="$Request.action eq 'friend'">class="on"</if>>
			<a href="{:url('uc/promotion/friend')}">我的好友</a>
			</li>
			<li  <if condition="$Request.action eq 'reward'">class="on"</if>>
			<a href="{:url('uc/promotion/reward')}">我的奖励</a>
			</li>
		</ul>
		<notempty name="list">
			<div class="promote_data_bar small">
				<table width="100%" cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td width="50%">
							累计获得推荐奖励（元）<br /><b class="af90 big">{$all_count}</b>
						</td>
						<td width="50%">
							本月获得推荐奖励（元）<br /><b class="af90 big">{$month_count}</b>
						</td>
					</tr>
				</table>
			</div>
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="row_table small">
				<tr class="a999 small">
					<td width="40%">奖励日期</td>
					<td width="30%">奖励类型</td>
					<td width="30%" align="right">奖励金额(元)</td>
				</tr>

				<volist name="list" id="v">
					<tr>
						<td>{$v.add_time}</td>
						<td class="a333 small">{$v.type_name}</td>
						<td align="right" class="af90">{$v.reward_amount}</td>
					</tr>
				</volist>
			</table>
			<div class="page">{$list->render()}</div>
			<else/>
			<p class="empty">暂无奖励</p>
		</notempty>
	</div>
</block>
<block name="menu"></block>